package com.matt.service;

import com.matt.domain.TeachingArea;
import com.matt.commons.page.PagerQuery;
import com.matt.foundation.vo.TeachingAreaPageVo;
import com.matt.foundation.vo.TeachingAreaVo;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2017/9/4
 * *******************************
 */
public interface TeachingAreaService {

    List<TeachingAreaPageVo> getTeachingAreaByArea(String areaId);

    Page<TeachingAreaPageVo> pageTeachingAreaByArea(String areaId, Boolean publicFilter, PagerQuery query);

    TeachingArea addTeachingArea(String name, String remark, String[] cameraIds, String areaId, Boolean isPublic);

    TeachingAreaVo getTeachingAreaById(String teachingAreaId, String areaId);

    TeachingAreaVo getTeachingAreaById(String teachingAreaId);

    TeachingArea modify(String teachingAreaId, String name, String remark, String[] cameraIds, String areaId, Boolean isPublic);
}
